package com.wxj.bank.storage.service.impl;

import com.wxj.bank.storage.dao.StudentMapper;
import com.wxj.bank.storage.model.Student;
import com.wxj.bank.storage.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shengtao
 * @Description:
 * @date 2019/02/18 16:51
 */
@Service("studentService")
public class StudentServiceImpl implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<Student> findAll() {
        return studentMapper.selectByExample(null);
    }
}
